package com.ytd.smartcanteen.weighting.bean;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

import java.util.List;

/**
 * 餐别实体类
 *
 * @author gaoguanchao
 * @since 2023/4/19
 */
@Entity
public class MealTimeInfo {

    /**
     * mealTimeId : 20001
     * mealTimeName : 早餐
     * mealStartTime : 07:00
     * mealEndTime : 09:00
     */
    @PrimaryKey
    @NonNull
    public String mealTimeId;
    public String mealTimeName;
    public String mealStartTime;
    public String mealEndTime;
    public String mealTimeTypeCode;
    public boolean bound;

    @Ignore
    public List<MealCategoryInfo> mMealCategoryInfos;
    @Override
    public String toString() {
        return "MealTimeInfo{" +
            "mealTimeId='" + mealTimeId + '\'' +
            ", mealTimeName='" + mealTimeName + '\'' +
            ", mealStartTime='" + mealStartTime + '\'' +
            ", mealEndTime='" + mealEndTime + '\'' +
            ", bound=" + bound +
            '}';
    }
}
